package com.example.yam.greenapp;


/**
 * Created by 杨建利 on 2017/1/24.
 * 作为listview的适配类型，用来适配订单中购买的商品的listview
 */

public class DGoods {
        private String id;//商品id
        private String imageid;//图片id
        private String name;//名称
        private String danwei;//单位
        private String price;//价格
        private String num;//价格
        private String total;//总价
        private String isping;//是否评论（0-未评论）
    public DGoods(String id,String imageid, String name,String danwei, String price, String num,  String total, String isping){
        this.id = id;
        this.imageid=imageid;
        this.name=name;
        this.danwei=danwei;
        this.price=price;
        this.num=num;
        this.total=total;
        this.isping=isping;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getId() {
        return id;
    }

    public String getImageid(){
        return this.imageid;
    }
    public String getName() {
        return this.name;
    }
    public String getDanwei(){
        return this.danwei;
    }
    public String getPrice(){
        return this.price;
    }
    public String getNum() {
        return num;
    }
    public String getTotal() {
        return total;
    }
    public String getIsping() {
        return isping;
    }
}
